from ronglian_sms_sdk import SmsSDK

accId = '8aaf07087ca221d8017cd40af29d0943'
accToken = '8d8cd8a94bb7413eb0704ef8144c6287'
appId = '8aaf07087ca221d8017cd40af37c0949'


# 发送短信验证码
def send_message():
    sdk = SmsSDK(accId, accToken, appId)
    tid = '1'
    mobile = '17635395714'
    datas = ('1234',)
    resp = sdk.sendMessage(tid, mobile, datas)
    print(len(resp))
    print(resp)

send_message()